﻿<UserControl x:Class="Jbe.TestSuite.Help.Presentation.HelpView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:v="clr-namespace:Jbe.TestSuite.Help.Presentation"
    xmlns:p="clr-namespace:Jbe.TestSuite.Help.Properties"
    xmlns:i="http://www.codeplex.com/CompositeExtensions/TestSuite/Interface"
    xmlns:cae="http://www.codeplex.com/CompositeExtensions"
    cae:ResourceService.MergeSharedDictionaries="{x:Static i:ResourceHelper.SharedResourcePath}">
    
    <DockPanel>
        <StackPanel DockPanel.Dock="Top">
            <ToolBar>
                <Button x:Name="browseBackButton" Command="NavigationCommands.BrowseBack" ToolTip="{x:Static p:Resources.Back}">
                    <Image Source="../Resources/book_previous.png" Width="16" Height="16"/>
                </Button>
                <Button x:Name="browseForwardButton" ToolTip="{x:Static p:Resources.Forward}">
                    <Image Source="../Resources/book_next.png" Width="16" Height="16"/>
                </Button>
                <Button Command="{Binding BrowseHomeCommand}" ToolTip="{x:Static p:Resources.Home}">
                    <Image Source="../Resources/house.png" Width="16" Height="16"/>
                </Button>
            </ToolBar>
        </StackPanel>
        
        <v:BindableWebBrowser x:Name="webBrowser" Source="{Binding HelpSource}"/>
    </DockPanel>
</UserControl>
